https://t.me/RX1948
Server : LiteSpeed
System : Linux host 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
User : idnco5810 ( 1093)
PHP Version : 8.2.29
Disable Function : NONE
Directory :  /usr/share/initramfs-tools/scripts/init-top/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/initramfs-tools/scripts/init-top/blacklist
#!/bin/sh

PREREQ=""

prereqs()
{
	echo "$PREREQ"
}

case $1 in
# get pre-requisites
prereqs)
	prereqs
	exit 0
	;;
esac

# blacklist vga16fb when vga= or video= given
# shellcheck disable=SC2013
for x in $(cat /proc/cmdline); do
        case ${x} in
	vga=*|video=*)
		echo "blacklist vga16fb" >> /etc/modprobe.d/initramfs.conf
		;;
	esac
done

# sanity check
[ -z "${blacklist?}" ] && exit 0

# write blacklist to modprobe.d
IFS=','
for b in ${blacklist}; do
	echo "blacklist $b" >> /etc/modprobe.d/initramfs.conf
done

https://t.me/RX1948 - 2025